package com.ahuan.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;
@Data
public class Menu {
    @JsonIgnore
    private String pMenuId; //用来辅助树化用户可以访问的菜单，不需要传给前端

    @JsonProperty("menuid")
    private String menuId;

    private String icon;

    @JsonProperty("menuname")
    private String menuName;

    private String hasThird;

    private String url;

    private List<Menu> menus;
}
